package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.member.model.MemberAddressGetProvince;
//import com.rbyair.services.member.model.MemberAddressGetCity;
//import com.rbyair.services.member.model.MemberAddressGetDistrict;
/**
* 获取用户某个收货地址信息
* @author wliu
* edit tse
*/
public class MemberAddressGetResponse extends RudderResponse{

private String consigneeId = "";


private String consigneeName = "";


private String consigneeTel = "";


private String consigneeCard = "";


private MemberAddressGetProvince province = new MemberAddressGetProvince();


private MemberAddressGetCity city = new MemberAddressGetCity();


private MemberAddressGetDistrict district = new MemberAddressGetDistrict();


private String address = "";


private String isDefault = "";


/**
* @return consigneeId
*/
public String getConsigneeId() {
return this.consigneeId;
}

/**
* @return consigneeId
*/
public void setConsigneeId(String consigneeId) {
this.consigneeId = consigneeId;
}
/**
methodName    ConsigneeId
type          String
name          consigneeId
defaultType   ""
*/

/**
* @return consigneeName
*/
public String getConsigneeName() {
return this.consigneeName;
}

/**
* @return consigneeName
*/
public void setConsigneeName(String consigneeName) {
this.consigneeName = consigneeName;
}
/**
methodName    ConsigneeName
type          String
name          consigneeName
defaultType   ""
*/

/**
* @return consigneeTel
*/
public String getConsigneeTel() {
return this.consigneeTel;
}

/**
* @return consigneeTel
*/
public void setConsigneeTel(String consigneeTel) {
this.consigneeTel = consigneeTel;
}
/**
methodName    ConsigneeTel
type          String
name          consigneeTel
defaultType   ""
*/

/**
* @return consigneeCard
*/
public String getConsigneeCard() {
return this.consigneeCard;
}

/**
* @return consigneeCard
*/
public void setConsigneeCard(String consigneeCard) {
this.consigneeCard = consigneeCard;
}
/**
methodName    ConsigneeCard
type          String
name          consigneeCard
defaultType   ""
*/

/**
* @return province
*/
public MemberAddressGetProvince getProvince() {
return this.province;
}

/**
* @return province
*/
public void setProvince(MemberAddressGetProvince province) {
this.province = province;
}
/**
methodName    Province
type          MemberAddressGetProvince
name          province
defaultType   new MemberAddressGetProvince()
*/

/**
* @return city
*/
public MemberAddressGetCity getCity() {
return this.city;
}

/**
* @return city
*/
public void setCity(MemberAddressGetCity city) {
this.city = city;
}
/**
methodName    City
type          MemberAddressGetCity
name          city
defaultType   new MemberAddressGetCity()
*/

/**
* @return district
*/
public MemberAddressGetDistrict getDistrict() {
return this.district;
}

/**
* @return district
*/
public void setDistrict(MemberAddressGetDistrict district) {
this.district = district;
}
/**
methodName    District
type          MemberAddressGetDistrict
name          district
defaultType   new MemberAddressGetDistrict()
*/

/**
* @return address
*/
public String getAddress() {
return this.address;
}

/**
* @return address
*/
public void setAddress(String address) {
this.address = address;
}
/**
methodName    Address
type          String
name          address
defaultType   ""
*/

/**
* @return isDefault
*/
public String getIsDefault() {
return this.isDefault;
}

/**
* @return isDefault
*/
public void setIsDefault(String isDefault) {
this.isDefault = isDefault;
}
/**
methodName    IsDefault
type          String
name          isDefault
defaultType   ""
*/

/**


    private static void filterFor(MemberAddressGetProvince member) {
        if (member.getRegionId() == null) {
            member.setRegionId("");
        }
        if (member.getRegionName() == null) {
            member.setRegionName("");
        }
    }

    private static void filterFor(MemberAddressGetCity member) {
        if (member.getRegionId() == null) {
            member.setRegionId("");
        }
        if (member.getRegionName() == null) {
            member.setRegionName("");
        }
    }

    private static void filterFor(MemberAddressGetDistrict member) {
        if (member.getRegionId() == null) {
            member.setRegionId("");
        }
        if (member.getRegionName() == null) {
            member.setRegionName("");
        }
    }

    public static void filter(MemberAddressGetResponse member) {
        if (member.getConsigneeId() == null) {
            member.setConsigneeId("");
        }
        if (member.getConsigneeName() == null) {
            member.setConsigneeName("");
        }
        if (member.getConsigneeTel() == null) {
            member.setConsigneeTel("");
        }
        if (member.getConsigneeCard() == null) {
            member.setConsigneeCard("");
        }
        if (member.getProvince() == null) {
            member.setProvince(new MemberAddressGetProvince());
        } else {
            filterFor(member.getProvince());
        }
        if (member.getCity() == null) {
            member.setCity(new MemberAddressGetCity());
        } else {
            filterFor(member.getCity());
        }
        if (member.getDistrict() == null) {
            member.setDistrict(new MemberAddressGetDistrict());
        } else {
            filterFor(member.getDistrict());
        }
        if (member.getAddress() == null) {
            member.setAddress("");
        }
        if (member.getIsDefault() == null) {
            member.setIsDefault("");
        }
    }

*/

}
